From 93bcca7f023d2767f589e0641fc1923ce880c3d5 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 2 Jan 2014 18:40:17 -0500 Subject: [PATCH] window: Document GtkWindow::set-focus Not sure why this was never documented. --- gtk/gtkwindow.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index ecb5a8b85d..2c758ec61f 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -1118,6 +1118,16 @@ gtk_window_class_init (GtkWindowClass *klass) GTK_TYPE_APPLICATION, GTK_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * GtkWindow:set-focus: + * @window: the window which received the signal + * @widget: the newly focused widget (or %NULL for no focus) + * + * This signal is emitted whenever the currently focused widget in + * this window changes. + * + * Since: 2.24 + */ window_signals[SET_FOCUS] = g_signal_new (I_("set-focus"), G_TYPE_FROM_CLASS (gobject_class), -- 2.30.2